#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    int m = 0;
    int i = 0;
    int n = 0;
    while (scanf("%d", &m) != EOF)
    {
        if (m % 2 == 0)
        {
            n = (m * m) - 2 * (m / 2) + 1;
            for (i = 0; i < m; i++)
            {
                printf("%d", n);
                if (i < m - 1)
                {
                    printf("+");
                }
                n = n + 2;
            }
        }
        if (m % 2 != 0)
        {
            n = (m * m) - 2 * (m / 2);
            for (i = 0; i < m; i++)
            {
                printf("%d", n);
                if (i < m - 1)
                {
                    printf("+");
                }
                n = n + 2;
            }
        }
        printf("\n");
    }
    return 0;
}